﻿ALTER TABLE [ServiceEngine].[MessageParts]  WITH CHECK ADD  CONSTRAINT [FK_MessageParts_Schemas] FOREIGN KEY([SchemaObjectID])
REFERENCES [ServiceEngine].[SchemaObjects] ([SchemaObjectID])
ON UPDATE CASCADE
ON DELETE CASCADE
